package com.ylbh.common.utils;

/**
 * 地区
 */
public enum AreaEnum {
    //省
    CITY("city",1),
    //市
    AREA("area",2),
    //区
    TOWN("town",3),
    //镇
    PROVINCE("province",0);

    private int id;
    private String name;

    AreaEnum(String name , int value) {
        this.id = value;
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
